/* -*- mode: c++; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil; -*- */

#ifndef _TOKENHELPER_H_
#define _TOKENHELPER_H_

#include <string>

enum TK_TYPE {
    TT_NONE,

    TT_FUNC,

    TT_REF,
};

extern int tk_open_file(const char *fn);

extern int tk_close_file();

extern int tk_fetch_next(int *lineno, std::string& token);

#endif /* _TOKENHELPER_H_ */
